<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>snabbdom-demo</title>
    <style>
        *{
            box-sizing: border-box;
        }
        .btn-row{
            display: flex;
            align-items: center;
            justify-content: space-between;
        }
        .btn{
            padding: 10px;
            border: solid 1px #eee;
            cursor: pointer;
        }
        .btn.add {
            background: cornflowerblue;
            color: #ffffff;
        }
        .btn.rm-btn {
            color: crimson;
        }
        ul.list{
            padding: 30px;
            position: relative;
        }
        li{
            list-style-type: none;
            display: flex;
            align-items: center;
            padding: 10px;
            position: absolute;
            width: 100%;
            box-shadow: 0 0 1px rgba(0, 0, 0, .2);
            transition: transform .5s ease-in-out, opacity .5s ease-out, left .5s ease-in-out;
           -webkit-transition: transform .5s ease-in-out, opacity .5s ease-out, left .5s ease-in-out;
        }
        li .title{
            width: 30%;
        }
        li .rank{
            width: 10%;
        }
        li .desc{
            width: 50%;
        }
    </style>
</head>
<body>
    <div id="app"></div>
    <script src="./src/index.js"></script>

</body>
</html>